import _axios from '@/utils/request'

// import store from '@/store'

export default class HisRecords {
  /**
   * 根据班级ID，获取所有学生（检测首页，选择班级）
   * @method get
   */
  static async HisRecordsIndex(params) {
    const groups = await _axios({
      method: 'get',
      url: '/api/HisRecords/Index',
      params,
      handleError: true
    })
    return groups
  }
  /**
   * 历史记录基本信息
   * @method get
   */
  static async BasicDetail(params) {
    const groups = await _axios({
      method: 'get',
      url: '/api/HisRecords/BasicDetail',
      params,
      handleError: true
    })
    return groups
  }
 /**
  * 历史记录课堂负荷结构
  * @method get
  */
 static async HisClassStructure(params) {
   const groups = await _axios({
     method: 'get',
     url: '/api/HisRecords/HisClassStructure',
     params,
     handleError: true
   })
   return groups
 }
 /**
  * 历史记录-达标率
  * @method get
  */
 static async HisComplianceRate(params) {
   const groups = await _axios({
     method: 'get',
     url: '/api/HisRecords/HisComplianceRate',
     params,
     handleError: true
   })
   return groups
 }
 /**
  * 历史记录-强度分布
  * @method get
  */
 static async IntensityDistribution(params) {
   const groups = await _axios({
     method: 'get',
     url: '/api/HisRecords/IntensityDistribution',
     params,
     handleError: true
   })
   return groups
 }
 /**
  *历史记录学生详情
  * @method get
  */
 static async StudentDetails(params) {
   const groups = await _axios({
     method: 'get',
     url: '/api/HisRecords/StudentDetails',
     params,

   })
   return groups
 }




}
